from django.db import models
import datetime
# Create your models here.

class UserInfo(models.Model):
    username = models.CharField(max_length=64,verbose_name='用户名')
    password = models.CharField(max_length=128,verbose_name='密码')
    createdate = models.DateField(auto_now_add=True,auto_created=True)

    class Meta:
        verbose_name = '用户信息'
        verbose_name_plural='用户信息'

    def __str__(self):
        return self.username